#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
示例Python脚本
"""

class Example:
    """示例类"""
    
    def __init__(self, name, value):
        """
        初始化方法
        :param name: 名称
        :param value: 值
        """
        self.name = name
        self.value = value
    
    def get_name(self):
        """获取名称"""
        return self.name
    
    def set_name(self, name):
        """设置名称"""
        self.name = name
    
    def display_info(self):
        """显示信息"""
        print(f"Name: {self.name}, Value: {self.value}")

def main():
    """主函数"""
    example = Example("测试", 100)
    example.display_info()

if __name__ == "__main__":
    main()